f = open('test/demo1.txt',mode='w',encoding='utf8')
# f.write('今天天气很好\n')
# f.write('哈哈哈\n')
# f.write('董一航\n')

# TODO3.关闭文件
# f.close()

f.writelines(['hello\n','python\n','golang\n'])

